package com.smartfactory.sail.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.smartfactory.sail.entity.Picking;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 王巨壁
 * @since 2019-08-26
 */
@Mapper
public interface PickingMapper extends BaseMapper<Picking> {

    IPage<Picking> getListPageByWhere(IPage<Picking> page, @Param("ew") Wrapper<Picking> queryWrapper);

    List<Picking> getListByOrderItemId(@Param("orderId")Long orderId,@Param("itemId")Long itemId);
}
